﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="OrderFormManage.aspx.cs" Inherits="OrderFormManage" Async="true"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<HEAD runat ="server" >
		<title>
			订单
		</title>
		<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
		<meta content="C#" name="CODE_LANGUAGE">
		<meta content="JavaScript" name="vs_defaultClientScript">
		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
		<LINK href="../StyleSheet1.css" rel="stylesheet">
		<script language="JavaScript">
		<!--
		function ww(){
			pt.style.display='none'; 
			window.print();
		}
		//-->
		</script>
	</HEAD>
	<body bgcolor="#ffffff" text="#000000">
		<form runat="server">
		<table width="100%" border="0" cellpadding="2" cellspacing="0">
			<tr>
				<td width="3%" height="59" valign="middle"><strong><br>
					</strong>
				</td>
				<td width="40%" valign="middle"><strong>订单<br>
					</strong>
				</td>
				<td width="10%" valign="middle" align="center"><a style="CURSOR: hand"><strong><div id="pt" onclick="ww()">打印</div>
						</strong></a>
				</td>
				<td width="47%" align="right" valign="bottom" class="p9black"></td>
			</tr>
		</table>
		<table width="100%" border="0" cellspacing="0" cellpadding="0">
			<tr>
				<td>&nbsp;</td>
			</tr>
		</table>
		<table width="100%" border="0" cellpadding="2" cellspacing="0" class="p12white">
			<tr>
				<td style="height: 31px"><hr size="1" noshade>
				</td>
			</tr>
		</table>
		<table width="100%" border="0" cellspacing="0" cellpadding="4" class="p9black" bgcolor="#f7f7f7">
			<tr>
				<td width="18%" align="right" nowrap style="height: 22px">订单号：<!--发货单号：--></td>
				<td width="27%" nowrap style="height: 22px"><FONT face="宋体">
						<span id="lbConsignNum">
                            <asp:Label ID="lblOrderID" runat="server"></asp:Label></span></FONT></td>
				<td width="16%" align="right" nowrap style="height: 22px">
                    购买人：<!--订单单号：--></td>
				<td width="39%" nowrap style="height: 22px"><FONT face="宋体">
						<span id="lbOFID">
                            <asp:Label ID="lblPayerName" runat="server"></asp:Label></span></FONT></td>
			</tr>
			<tr>
				<td width="18%" align="right" nowrap>操作人：<!--操作员：--></td>
				<td width="27%" nowrap><FONT face="宋体">
						<span id="lbConsignOperator"><asp:Label ID="lblCearter" runat="server" Text=""></asp:Label></span></FONT></td>
				<td width="16%" align="right" nowrap>
                    下单时间：<!--发货时间：--></td>
				<td width="39%" nowrap><FONT face="宋体">
						<span id="lbConsignTime"><asp:Label ID="lblOrderDate" runat="server"
                            Text=""></asp:Label></span></FONT></td>
			</tr>
			<tr>
				<td width="18%" align="right" valign="top" nowrap>收货人：<!--收货人：--></td>
				<td width="27%" nowrap>
					<span id="lbConsignInUserName"><asp:Label ID="lblInceptName" runat="server" Text=""></asp:Label></span></td>
				<td width="16%" align="right" valign="top" nowrap>收货人电话：<!--收货人电话：--></td>
				<td width="39%" nowrap>
					<span id="lbConsignInTel"><asp:Label ID="lblPhone" runat="server" Text=""></asp:Label></span></td>
			</tr>
			<tr>
				<td width="18%" align="right" valign="top" nowrap>收货地址：<!--收货地址：--></td>
				<td width="27%" nowrap colspan="3">
					<span id="lbConsignInAddress"><asp:Label ID="lblAddress" runat="server"
                        Text=""></asp:Label></span></td>
			</tr>
			<tr>
				<td width="18%" align="right" valign="top" nowrap>邮政编码：<!--邮政编码：--></td>
				<td width="27%" nowrap>
					<span id="lbConsignInPostCode"><asp:Label ID="lblPostcode" runat="server" Text=""></asp:Label></span></td>
				<td width="16%" align="right" valign="top" nowrap>
                    配送方式：<!--收货人Email：--></td>
				<td width="39%" nowrap><FONT face="宋体">
						<span id="lbConsignInEmail"><asp:Label ID="lblSendStyle" runat="server" Text=""></asp:Label></span></FONT></td>
			</tr>
			<tr class="allborder">
				<td align="right" valign="top" nowrap style="height: 22px">
                    支付方式：<!--物流公司：--></td>
				<td nowrap style="height: 22px">
					<span id="lbConsignExpressCorp">
                        <asp:Label ID="lblBillStyle" runat="server" Text=""></asp:Label></span></td>
				<td align="right" valign="top" nowrap style="height: 22px">
                    总金额：<!--物流单号：--></td>
				<td nowrap style="height: 22px"><FONT face="宋体">
						<span id="lbConsignExpressNum"><asp:Label ID="lblTotal" runat="server"></asp:Label></span></FONT></td>
			</tr>
		</table>
        <br />
       <asp:GridView ID="gdvProductPreview" runat="server" AutoGenerateColumns="False"  SkinID="GridView2" CellPadding="4"
                    ForeColor="Black" Height="149px" Width="100%"  AllowPaging="True" BorderColor="WhiteSmoke" BorderStyle="Solid" BorderWidth="1px" Font-Names="宋体" Font-Size="12px" style="position: static">
            <Columns>
                <asp:BoundField DataField="ProductID" HeaderText="商品编号" />
                <asp:BoundField DataField="Name" HeaderText="商品名称" />
                <asp:BoundField DataField="Quantity" HeaderText="数量" />
                <asp:TemplateField HeaderText="单价">
                    <ItemTemplate>
                        <asp:Label ID="lblUnitPrice" runat="server" Style="position: static" Text='<%# string.Format("{0:c}",Eval("UnitPrice")) %>'></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="总价">
                    <ItemTemplate>
                        ￥<asp:Label ID="lblSumPrice" runat="server" Style="position: static" Text='<%#string.Format("{0:c}",(Convert.ToInt32(Eval("Quantity"))*Convert.ToInt32(Eval("UnitPrice"))).ToString())%>'></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
            </Columns>
        </asp:GridView>
		</form>
	</body>
</html>
